package com.lancoo.taskerdemo.network;

import com.lancoo.taskerdemo.mode.NewsResponse;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by Administrator on 2017/6/19 0019.
 */

public interface NewsApi {

    @GET("toutiao/index")
    Observable<ApiResponse<NewsResponse>> getNews(@Query("type") String newsType, @Query("key")String appKey);

}
